package cn.life.common.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Description:
 * @Author 李佳明
 * @Date 2018-07-20 14:17
 */
@Controller
public class CommonController {

    @RequestMapping("")
    public String index(){
        return "login/login";
    }

    @RequestMapping("login")
    public String login(){
        return "login/login";
    }

    @RequestMapping("go_to_option")
    public String option(){
        return "user/option";
    }

    @RequestMapping("go_to_scheduleQuery")
    public String scheduleQuery(){
        return "user/schedulequery";
    }

    @RequestMapping("go_to_title")
    public String title(){
        return "user/title";
    }

    @RequestMapping("go_to_blankpage")
    public String blankpage(){
        return "user/blankpage";
    }

    @RequestMapping("go_to_schedule_details")
    public String scheduleDetails(){
        return "user/schedule_details";
    }

    @RequestMapping("go_to_home_page")
    public String homePage(){
        return "user/home_page";
    }

    @RequestMapping("go_to_inspect")
    public String inspect(){
        return "user/inspect";
    }

    @RequestMapping("go_to_inspect_details")
    public String inspectDetails(){
        return "user/inspect_details";
    }

    @RequestMapping("go_to_employee_statistics")
    public String employeeStatistics(){
        return "user/employee_statistics";
    }

    @RequestMapping("go_to_warehouse_statistics")
    public String warehouseStatistics(){
        return "user/warehouse_statistics";
    }

    @RequestMapping("go_to_warehouse_statistics_details")
    public String warehouseStatisticsDetails(){
        return "user/warehouse_statistics_details";
    }

    @RequestMapping("go_to_projectManger")
    public String goToProjectManger(){
        return "user/project_manager";
    }
}
